home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / range.z / range
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  76 lines

  1. RANGE(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      RRAANNGGEE - Returns the decimal exponent range of a number according to
  6.      the real or integer model
  7.  
  8. SSYYNNOOPPSSIISS
  9.      RRAANNGGEE (([XX==]_x))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, IRIX systems
  13.  
  14.      CF90, MIPSpro 7 Fortran 90
  15.  
  16. SSTTAANNDDAARRDDSS
  17.      Fortran
  18.  
  19. DDEESSCCRRIIPPTTIIOONN
  20.      The RRAANNGGEE intrinsic function returns the decimal exponent range in the
  21.      model representing integer or real numbers with the same kind type
  22.      parameter as the argument.  For information on integer number model or
  23.      the real number model, see the MMOODDEELLSS(3I) man page.  It accepts the
  24.      following argument:
  25.  
  26.      _x         Must be of type integer, real, or complex.  It may be scalar
  27.                or array valued.
  28.  
  29.      RRAANNGGEE is an inquiry function.  The name of this intrinsic cannot be
  30.      passed as an argument.
  31.  
  32. RREETTUURRNN VVAALLUUEESS
  33.      The result is a default integer scalar.
  34.  
  35.      For an integer argument, the result has the value IINNTT((LLOOGG1100 (_h_u_g_e)),
  36.      where _h_u_g_e is the largest positive integer in the model representing
  37.      integer numbers with same kind type parameter as _x.
  38.  
  39.      For a real or complex argument, the result has the value
  40.      IINNTT((MMIINN((LLOOGG1100((_h_u_g_e)),,--LLOOGG1100((_t_i_n_y)))))), where _h_u_g_e and _t_i_n_y are the
  41.      largest and smallest positive numbers in the model representing real
  42.      numbers with the same value for the kind type parameter as _x.
  43.  
  44. EEXXAAMMPPLLEESS
  45.      On UNICOS systems, excluding CRAY T90 systems that support IEEE
  46.      floating-point arithmetic, RRAANNGGEE((XX)) has the value 2465 for real XX.
  47.  
  48.      On IRIX systems, RRAANNGGEE((XX)) has the following values:
  49.  
  50.      * 37 for real ((KKIINNDD==44)) XX
  51.  
  52.      * 307 for real ((KKIINNDD==88)) XX
  53.  
  54.      * 291 for real ((KKIINNDD==1166)) XX
  55.  
  56.      On UNICOS/mk systems, RRAANNGGEE((XX)) has the following values:
  57.  
  58.      * 37 for real ((KKIINNDD==44)) XX
  59.  
  60.      * 307 for real ((KKIINNDD==88)) XX
  61.  
  62.      On CRAY T90 systems that support IEEE floating-point arithmetic,
  63.      RRAANNGGEE((XX)) has the following values:
  64.  
  65.      * 37 for real ((KKIINNDD==44)) XX
  66.  
  67.      * 307 for real ((KKIINNDD==88)) XX
  68.  
  69.      * 4931 for real ((KKIINNDD==1166)) XX
  70.  
  71. SSEEEE AALLSSOO
  72.      MMOODDEELLSS(3I)
  73.  
  74.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  75.      man page.
  76.